package com.powroznik.tracker.client.android;

import java.io.Serializable;
import java.util.Date;

public class Location implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	private Long version = 0L;

	private DeviceConfiguration device;

	private Double accuracy;

	private Double altitude;

	private Double bearing;

	private Double latitude;

	private Double longitude;

	private String provider;

	private Long run;

	private Double speed;

	private Date time;

	public Location() {
	}

	public Double getAccuracy() {
		return accuracy;
	}

	public Double getAltitude() {
		return altitude;
	}

	public Double getBearing() {
		return bearing;
	}

	public DeviceConfiguration getDevice() {
		return device;
	}

	public Long getId() {
		return id;
	}

	public Double getLatitude() {
		return latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public String getProvider() {
		return provider;
	}

	public Long getRun() {
		return run;
	}

	public Double getSpeed() {
		return speed;
	}

	public Date getTime() {
		return time;
	}

	public Long getVersion() {
		return version;
	}

	public void setAccuracy(Double accuracy) {
		this.accuracy = accuracy;
	}

	public void setAltitude(Double altitude) {
		this.altitude = altitude;
	}

	public void setBearing(Double bearing) {
		this.bearing = bearing;
	}

	public void setDevice(DeviceConfiguration device) {
		this.device = device;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public void setRun(Long run) {
		this.run = run;
	}

	public void setSpeed(Double speed) {
		this.speed = speed;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public void setVersion(Long version) {
		this.version = version;
	}
}
